//
//  EXHTTPAgent.h
//  Edaox
//
//  Created by cao pan on 7/10/14.
//  Copyright (c) 2014 edaox. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "AFHTTPClient.h"
#import "EXRequestMessage.h"
#import "EXResponseMessage.h"

@interface EXHTTPAgent : AFHTTPClient

+ (EXHTTPAgent *)sharedAgent;

- (void)requestAction:(EXRequestMessage *)requestMessage
      responseMessage:(EXResponseBlock)responseBlock;

- (void)requestCancel:(EXRequestMessage *)requestMessage;

- (void)requestUploadPicture:(EXRequestMessage *)requestMessage 
               responseBlock:(EXResponseBlock)responseBlock;

@end
